package com.ais.gaea.annotation;

import com.ais.gaea.TableOperation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于初始化表数据或升级的时候操作表结构
 * @author xuning
 * @date 2022/11/26 16:42
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface TableConfiguration {
    /**
     * 进行初始化或升级的类
     */
    Class<? extends TableOperation>[] operation();
}
